import request from '@/utils/request'
export function selectReport(data) {
    return request({
      url: '/report/select',
      method: 'post',
      data: data
    })
  }
  // 新增

  export function saveReport(data) {
    return request({
      url: '/report/save',
      method: 'post',
      data: data
    })
  }
  // 编辑
  export function updateReport(data) {
    return request({
      url: '/report/update',
      method: 'post',
      data: data
    })
  }
  // 删除
  export function deleteReport(reportId) {
    return request({
      url: `/report/delete/${reportId}`,
      method: 'get',
    })
  }
  // 上传

  export function uploadFile(data) {
    return request({
      url: '/report/uploadFile',
      method: 'post',
      data: data
    })
  }